<style>
#header_top
{
	height:40px;
	background-color:#114070;
	border-bottom-color:#003366;
	color:#F0F0F0;
}
#header_menu {
	background-color:#3C78B5;
	color:#FFFFFF;
	overflow:hidden;
	width: 100%;
	font-family:Arial,FreeSans,Helvetica,sans-serif;
	height:20px;
}
#main-nav {
	width: 100%;
	margin-top:4px;
}
#main-nav li {
list-style-type:none;
display: inline;
}
#main-nav li a {
color:#FFFFFF;
font-weight:700;
text-decoration:none;
padding:4px 7px;
text-transform:uppercase;
}
#main-nav li a.selected, #main-nav li a.selected:link, #main-nav li a.selected:visited, #main-nav li a:hover {
background-color:#FFFFFF;
color:#114070;
}
#links_nav li
{
 list-style-type:none;
 display: inline;
}
#links_nav li a {
	color:#FFFFFF;
	text-decoration:none;
	padding:4px 7px;
}
</style>
<div id="header">
	<div id="header_top" style="width:100%;">
		<div id = "header_left" style="float:left;">
			<img src="<?=$this->baseUrl()?>/images/<?=$this->configuration['logo']?>" border="0" />
		</div>
		<div id="header_right" style="float:right;text-align:right;margin-left:5px" class="yuimenu">
			<?php if($this->auth) {?>
				<ul id="links_nav">
					<li><a href=""><?=$this->userInfo->fullname?></a></li>
					<li id="filterSource"><a href="">Filters</a>
						<!--<div id="filters" class="yuimenu" style="z-index:4">
							<div class="bd">
								<ul>
									<li class="yuimenuitem"><a href="">One</a></li>
									<li class="yuimenuitem"><a href="">Two</a></li>
									<li class="yuimenuitem"><a href="">Two</a></li>
									<li class="yuimenuitem"><a href="">Two</a></li>
								</ul>
							</div>
						</div>-->
					</li>
					<SCRIPT type="text/javascript">
						/*var oMenu;
						YAHOO.util.init = function() {
							oMenu = new YAHOO.widget.Menu("filters");
							oMenu.render();
							oMenu.show();
						};
						YAHOO.util.Event.addListener("filterSource",'mouseover',YAHOO.util.init);
						YAHOO.util.Event.addListener("filterSource",'mouseout',function(){
							oMenu.hide();
						});*/
                	</SCRIPT>
					<li><a href="<?=$this->baseUrl()?>/auth/logout">Logout</a></li>
				</ul>
			<?php } else {?>
				<ul id="links_nav">
					<li><a href="">Guest</a></li>
					<li><a href="<?=$this->baseUrl()?>/auth/login">Sign in</a></li>
				</ul>
			<?php }?>
		</div>
	</div>
	<div id="header_menu" style="width:100%;">
		<ul id="main-nav">
			<li><a href="<?=$this->baseUrl()?>/home" <?php if ($this->current == 'home') {?> class = "selected"<? }?> accesskey="h"><u>H</u>ome</a></li>
			<li><a href="<?=$this->baseUrl()?>/project" <?php if ($this->current == 'project') {?> class = "selected"<? }?> accesskey="b"><u>B</u>rowse Project</a></li>
			<li><a href="<?=$this->baseUrl()?>/filter/new" <?php if ($this->current == 'filter') {?> class = "selected"<? }?> accesskey="b"><u>F</u>ind Issues</a></li>
			<?php if($this->auth) { ?>
			<?php if ($this->acl->isAllowed($this->userGroup, null, "createissue")) {?>
			<li><a href="<?=$this->baseUrl()?>/issue/createstep1" <?php if ($this->current == 'createissue') {?> class = "selected"<? }?> accesskey="b"><u>C</u>reate New Issue</a></li>
			<?php }?>
			<?php if ($this->acl->isAllowed($this->userGroup, null, "admin")) {?>
			<li><a href="<?=$this->baseUrl()?>/project" <?php if ($this->current == 'admin') {?> class = "selected"<? }?> accesskey="b"><u>A</u>dministration</a></li>
			<?php }?>
		<?php }?>
		</ul>
	</div>
</div>
